package com.currency.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "wyt_pre_pay_order")
@Api(tags = "结算付款信息", value = "结算付款信息")
public class WytPrePayOrderPojo {
    @ApiModelProperty(value = "预付款ID")
    @TableId(value = "pre_pay_id")
    private String prePayId;

    @ApiModelProperty(value = "预付款关联的订单ID")
    @TableField(value = "order_id")
    private String orderId;

    @ApiModelProperty(value = "预付款关联的货源ID")
    @TableField(value = "waybill_id")
    private String waybillId;

    @ApiModelProperty(value = "预付金额，单位为：分")
    @TableField(value = "pay_price")
    private BigDecimal payPrice;

    @ApiModelProperty(value = "司机接单总价")
    @TableField(value = "driver_sum_price")
    private BigDecimal driverSumPrice;

    @ApiModelProperty(value = "应付司机总价")
    @TableField(value = "driver_get_price")
    private BigDecimal driverGetPrice;

    @ApiModelProperty(value = "需要缴的税费")
    @TableField(value = "fee_price")
    private BigDecimal feePrice;

    @ApiModelProperty(value = "抽取的服务费")
    @TableField(value = "service_price")
    private BigDecimal servicePrice;

    @ApiModelProperty(value = "保险费用")
    @TableField(value = "insurance_price")
    private BigDecimal insurancePrice;

    @ApiModelProperty(value = "审核费用")
    @TableField(value = "audit_price")
    private BigDecimal auditPrice;

    @ApiModelProperty(value = "装车费")
    @TableField(value = "loading_price")
    private BigDecimal loadingPrice;

    @ApiModelProperty(value = "卸车费")
    @TableField(value = "unloading_price")
    private BigDecimal unloadingPrice;

    @ApiModelProperty(value = "平台利润")
    @TableField(value = "platform_profits")
    private BigDecimal platformProfits;

    @ApiModelProperty(value = "结算到油卡百分比")
    @TableField(value = "oil_card_percent")
    private BigDecimal oilCardPercent;

    @ApiModelProperty(value = "给司机补贴费金额")
    @TableField(value = "subsidy")
    private BigDecimal subsidy;

    @ApiModelProperty(value = "司机补贴金额详情描述")
    @TableField(value = "subsidy_msg")
    private String subsidyMsg;

    @ApiModelProperty(value = "货主的附加费金额")
    @TableField(value = "surcharge")
    private BigDecimal surcharge;

    @ApiModelProperty(value = "货主附加费用详情描述")
    @TableField(value = "surcharge_msg")
    private String surchargeMsg;

    @ApiModelProperty(value = "获取金额的司机ID")
    @TableField(value = "driver_id")
    private String driverId;

    @ApiModelProperty(value = "金币转移的货主ID")
    @TableField(value = "shipment_id")
    private Long shipmentId;

    @ApiModelProperty(value = "预付款状态，0申请中 ，1付款完成，2核算完成")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty(value = "催促次数")
    @TableField(value = "hasten_cnt")
    private Integer hastenCnt;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_datetime")
    private Date createDatetime;

    @ApiModelProperty(value = "更新时间")
    @TableField(value = "update_datetime")
    private Date updateDatetime;
}



